package com.wang.myblog.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 博客-评论表
 * </p>
 *
 * @author s
 * @since 2021-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yun_board_mes")
@ApiModel(value="BoardMesFrom对象", description="博客-评论表")
public class BoardMesFrom implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "父级留言的id")
    private Long pid;

    @ApiModelProperty(value = "留言人的昵称（未登录用户）")
    private String nickname;

    @ApiModelProperty(value = "被回复的人的昵称（未登录用户）")
    private String replyUser;

    @ApiModelProperty(value = "留言人的头像地址")
    private String avatar;

    @ApiModelProperty(value = "留言人的邮箱地址（未登录用户）")
    private String email;

    @ApiModelProperty(value = "留言的内容")
    private String content;
}
